package com.wego.ioc.domain;

import org.springframework.stereotype.Component;

/**
 * Created by yigeyanse on 2016/12/20.
 */
@Component
public class Car {
    public Car(){
        System.out.println("Car is generated");
    }

    private String name;
    private Double price;
    private String Brand;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getBrand() {
        return Brand;
    }

    public void setBrand(String brand) {
        Brand = brand;
    }
}
